<?php
$config = require_once THINK_PATH.'../common/config.php';

$part_config = array(
        /*框架配置*/
        'LAYOUT_ON'   => true,
        'LAYOUT_NAME' => 'layout',

        /*项目配置*/
        'APP_NAME'    => '铜人宝WAP',

        /*数据库配置*/
        'DB_TYPE'     => 'mysql',
        'DB_HOST'     => '117.18.0.26',
        'DB_NAME'     => 'tongrenbao',
        'DB_USER'     => 'root',
        'DB_PWD'      => 'zhenaipass-82492',//'123456',
        'DB_PORT'     => '3306',
        'DB_CHARSET'  => 'utf8',
        'DB_PREFIX'   => 'hos_',
		'URL_MODEL'	  => 1,

		'open_cache' => false,

        /* 自定义配置 */
        /*默认ajax返回*/
        'DEFAULT_AJAX_RETURN'=>'json',

        'TMPL_ENGINE_TYPE'		=> 'php',

        'SESSION_TYPE' => 'Db',//SESSION 引擎

    );



//接口配置
$interface_config = array(
    'INTERFACE_KEY' => 'ajwdg!23#$%^abc&*4916', //APP请求KEY
);

$config = array_merge($config,$part_config, $interface_config);

return $config;
